package com.service;

import com.entity.ResponseEntity;
import com.entity.User;

public interface UserService {
    ResponseEntity findAll();
    ResponseEntity findById(int id);
    ResponseEntity addOne(User user);
    ResponseEntity updateOne(User user);
    ResponseEntity deleteOne(int id);

    ResponseEntity findAll(int currentPage, int pageSize);
}
